﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using AlbumDesigner.Models.Enums;

namespace AlbumDesigner.Helpers
{
    public class UserPermissionHelper
    {
        public static int[] Admin
        {
            get
            {
                return new int[] { (int)AlbumUsers.Admin };
            }
        }

        public static int[] ApprovalChecks
        {
            get
            {
                return new int[] { (int)AlbumUsers.Admin };
            }
        }

        public static int[] BackgroundImages
        {
            get
            {
                return new int[] { (int)AlbumUsers.Admin, (int)AlbumUsers.Studio };
            }
        }

        public static int[] FilmingDays
        {
            get
            {
                return new int[] { (int)AlbumUsers.Admin, (int)AlbumUsers.Photographer, (int)AlbumUsers.Studio, (int)AlbumUsers.SalesMan };
            }
        }

        public static int[] Masks
        {
            get
            {
                return new int[] { (int)AlbumUsers.Admin, (int)AlbumUsers.Studio, (int)AlbumUsers.SalesMan };
            }
        }

        public static int[] PageLayouts
        {
            get
            {
                return new int[] { (int)AlbumUsers.Admin, (int)AlbumUsers.Studio };
            }
        }

        public static int[] PremadePages
        {
            get
            {
                return new int[] { (int)AlbumUsers.Admin, (int)AlbumUsers.Studio };
            }
        }

        public static int[] Tips
        {
            get
            {
                return new int[] { (int)AlbumUsers.Admin };
            }
        }

        public static int[] Users
        {
            get
            {
                return new int[] { (int)AlbumUsers.Admin };
            }
        }

        public static int[] Albums
        {
            get
            {
                return new int[] { (int)AlbumUsers.Admin, (int)AlbumUsers.SalesMan, (int)AlbumUsers.Studio };
            }
        }

        public static int[] DesignVectors
        {
            get
            {
                return new int[] { (int)AlbumUsers.Admin, (int)AlbumUsers.Studio };
            }
        }
    }
}